package com.link.base.base.accountpayset.service;

import com.link.base.base.accountpayset.model.AccountPaySet;
import com.link.base.base.accountpayset.dao.mybatis.mapper.AccountPaySetMapper;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  liushoulong
 * @date:   2018/4/27 13:50
 * @version 1.0
 */

@Service
public class AccountPaySetServiceImpl extends BasicServiceImpl<AccountPaySet> implements AccountPaySetService {

    @Resource
    private AccountPaySetMapper accountPaySetMapper;

    @Override
    public BasicMapper<AccountPaySet> getBasicMapper() {
        return accountPaySetMapper;
    }

    /**
     * 查询账号支付设置和客户账号参数关联表指定数据
     *
     * @param entry
     * @return
     * @throws Exception
     */
    @Override
    public List<AccountPaySet> queryMoreTByParams(AccountPaySet entry) throws Exception {
        return accountPaySetMapper.queryMoreTByParams(entry);
    }
}
